<?php


class ValRequerimientoTable extends Doctrine_Table
{
    public static function getInstance()
    {
        return Doctrine_Core::getTable('ValRequerimiento');
    }

    public function getEnCurso()
    {
        $q = $this->createQuery('r')
                ->where('r.salida_id IS NULL');

        return $q->execute();
    }
}
